﻿@model Promike.site.Models.LocalPasswordModel
@{
    ViewBag.Title = "Управление аккаунтом";
}
<p class="message-success">@ViewBag.StatusMessage</p>
<p><img src="@ViewBag.Avatar" alt="@ViewBag.Avatar" onclick="window.open('http://ru.gravatar.com/')"/></p>
<p><strong>ICQ</strong> - @ViewBag.User.ICQ</p>
<p><strong>Email</strong> - @ViewBag.User.Email</p>

@if (ViewBag.HasLocalPassword)
{
    @Html.Partial("_ChangePasswordPartial")
}
else
{ 
    @Html.Partial("_SetPasswordPartial")
}

<section id="externalLogins">
    @Html.Action("RemoveExternalLogins")

    <h3>Добавить внешний логин</h3>
    @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
</section>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
